package com.obor.quartz.run;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = { "org.zn", "com.obor", })
@MapperScan(basePackages = {"com.obor.*.*","org.zn.mvcbase.mybatis.ddl","org.zn.commons.serialno" })
public class Run 
{
	public static void main(String[] args) {

		SpringApplication.run(Run.class, args); 

	}

	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(Run.class);
	}
}
